package com.ruoyi.system.api;

import com.ruoyi.system.api.factory.RemoteTestFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestPart;
import org.springframework.web.multipart.MultipartFile;
import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.api.domain.SysFile;
import com.ruoyi.system.api.factory.RemoteFileFallbackFactory;

import java.util.Map;

/**
 * 文件服务
 *
 * @author ruoyi
 */
@FeignClient(contextId = "remoteTestService", value = ServiceNameConstants.TEST_SERVICE, fallbackFactory = RemoteTestFallbackFactory.class)
public interface RemoteTestService
{

    @GetMapping(value = "/hello/hi")
    public Map hi();
}
